<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: LPTIM_BaseInitTypeDef结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle">
<div class="title">LPTIM_BaseInitTypeDef结构体 参考<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___l_p_t_i_m.html">LPTIM</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>LPTIM Time base Configuration Structure definition  
 <a href="struct_l_p_t_i_m___base_init_type_def.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="wb32l003__lptim_8h_source.html">wb32l003_lptim.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:a9a0b616b50e167092c6b1a7cf31110b9"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a9a0b616b50e167092c6b1a7cf31110b9">GateEnable</a></td></tr>
<tr class="separator:a9a0b616b50e167092c6b1a7cf31110b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79c502393047a9f7661be1f10f593110"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a79c502393047a9f7661be1f10f593110">GateLevel</a></td></tr>
<tr class="separator:a79c502393047a9f7661be1f10f593110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a151e5e8f9dfbde8dbc4712612802bc42"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a151e5e8f9dfbde8dbc4712612802bc42">ClkSel</a></td></tr>
<tr class="separator:a151e5e8f9dfbde8dbc4712612802bc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5474a76dcb5f8c84c2d0501a41079ea8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a5474a76dcb5f8c84c2d0501a41079ea8">TogEnable</a></td></tr>
<tr class="separator:a5474a76dcb5f8c84c2d0501a41079ea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdcddee4d335044d10704b0c1278d234"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#afdcddee4d335044d10704b0c1278d234">CntTimSel</a></td></tr>
<tr class="separator:afdcddee4d335044d10704b0c1278d234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bd1aefd7d8e0d6613781c996ea30e9"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a91bd1aefd7d8e0d6613781c996ea30e9">AutoReload</a></td></tr>
<tr class="separator:a91bd1aefd7d8e0d6613781c996ea30e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49500eef6a2354eeee4adc005bf9cef6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html#a49500eef6a2354eeee4adc005bf9cef6">Period</a></td></tr>
<tr class="separator:a49500eef6a2354eeee4adc005bf9cef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>LPTIM Time base Configuration Structure definition </p>
<dl class="section note"><dt>注解</dt><dd>This structure is for LPTIM </dd></dl>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="a91bd1aefd7d8e0d6613781c996ea30e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91bd1aefd7d8e0d6613781c996ea30e9">&#9670;&nbsp;</a></span>AutoReload</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t AutoReload</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Timer auto reload enable or disable. This parameter can be a value of <a class="el" href="group___l_p_t_i_m___auto___reload.html">LPTIM_Auto_Reload</a> </p>

</div>
</div>
<a id="a151e5e8f9dfbde8dbc4712612802bc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a151e5e8f9dfbde8dbc4712612802bc42">&#9670;&nbsp;</a></span>ClkSel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ClkSel</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies low power timer clock. This parameter can be a value of <a class="el" href="group___l_p_t_i_m___clock___source___selection.html">LPTIM_Clock_Source_Selection</a> </p>

</div>
</div>
<a id="afdcddee4d335044d10704b0c1278d234"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdcddee4d335044d10704b0c1278d234">&#9670;&nbsp;</a></span>CntTimSel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t CntTimSel</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies Counter/Timer function selection. This parameter can be a value of LPTIM_Counter/Timer_Selection </p>

</div>
</div>
<a id="a9a0b616b50e167092c6b1a7cf31110b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a0b616b50e167092c6b1a7cf31110b9">&#9670;&nbsp;</a></span>GateEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t GateEnable</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies gate function enable or disable. This parameter can be a value of <a class="el" href="group___l_p_t_i_m___gate___enable.html">LPTIM_Gate_Enable</a> </p>

</div>
</div>
<a id="a79c502393047a9f7661be1f10f593110"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79c502393047a9f7661be1f10f593110">&#9670;&nbsp;</a></span>GateLevel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t GateLevel</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies gate level high or low. This parameter can be a value of <a class="el" href="group___l_p_t_i_m___gate___level___selection.html">LPTIM_Gate_Level_Selection</a> </p>

</div>
</div>
<a id="a49500eef6a2354eeee4adc005bf9cef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49500eef6a2354eeee4adc005bf9cef6">&#9670;&nbsp;</a></span>Period</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Period</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies the period value to be loaded into the active CNT value immediately through LOAD register or periodly through BGLOAD register refer to mode specified by LPTIM_AutoReload. Period caculation = (MaxCntLevel - Period)/(LPTIM clock) This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. </p>

</div>
</div>
<a id="a5474a76dcb5f8c84c2d0501a41079ea8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5474a76dcb5f8c84c2d0501a41079ea8">&#9670;&nbsp;</a></span>TogEnable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t TogEnable</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Specifies tog function enable or disable. This parameter can be a value of <a class="el" href="group___l_p_t_i_m___toggle___enable.html">LPTIM_Toggle_Enable</a> </p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li><a class="el" href="wb32l003__lptim_8h_source.html">wb32l003_lptim.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
